#pragma once

#include<iostream>
#include<string>
#include<ctime>

#define INFO 1
#define WARING 2
#define ERROR 3
#define FATAL 4

#define LOG(level,message) Log(#level,message,__FILE__,__LINE__)


void Log(std::string level , std::string message , std::string file_name , int file_line)
{
    std::cout << "[ " << level << " ]" << " [ " << message << " ]"  << " [ " << time(nullptr) << " ]" 
    << " [ " << file_name << " ]"  << " [ " << file_line << " ]"  << std::endl;
}
